// 引入了createApp 工厂函数, 不再是vue构造函数  直接调用
import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'

import vant from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css';

const app = createApp(App)
app.use(store).use(router).use(vant)
app.mount('#app')

// createApp(App).use(store).use(router).use(vant).mount('#app')
